-
Home
-
BigCommerce For WordPress
-
5.1.2 (latest)
-
Code
-
Classes
- Cart_Mapper
| Total Complexity |
43 |
| Dependencies |
17 |
| Dependents |
5 |
| Total lines |
436 |
| Lines of code |
310 |
| Logical lines of code |
107 |
| Comment lines |
86 |
| Methods |
19 |
| Properties |
2 |
Methods 19
| Method |
Rating |
Maintainability
|
Complexity
|
Lines of code
|
| prepare_base_item() |
A |
38 |
4 |
81 |
| prepare_gift_certificate_item() |
S |
44 |
3 |
50 |
| identify_channel() |
S |
55 |
5 |
20 |
| map() |
S |
46 |
3 |
46 |
| get_max_quantity() |
S |
61 |
4 |
14 |
| get_variant() |
S |
62 |
4 |
12 |
| prepare_line_item() |
S |
66 |
3 |
9 |
| get_terms() |
S |
69 |
2 |
6 |
| get_variant_sku() |
S |
74 |
2 |
4 |
| format_currency() |
S |
70 |
2 |
6 |
| calculate_total_tax() |
S |
68 |
2 |
6 |
| get_thumbnail_id() |
S |
67 |
2 |
7 |
| map_coupon_data() |
S |
60 |
1 |
14 |
| __construct() |
S |
81 |
1 |
3 |
| get_coupons_discount_amount() |
S |
73 |
1 |
5 |
| cart_items() |
S |
70 |
1 |
6 |
| get_product() |
S |
75 |
1 |
4 |
| format_term() |
S |
69 |
1 |
7 |
| get_options() |
S |
64 |
1 |
10 |